package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the ESTADI_RESERVA database table.
 * 
 */
//@Entity
//@Table(name="ESTADI_RESERVA")
public class EstadiReserva implements Serializable {
	private static final long serialVersionUID = 1L;
	private BigDecimal nsDetalle;
	private String oficina;
	private BigDecimal refnumTitu;
	private Date tsCrea;
	private String zona;

    public EstadiReserva() {
    }


	@Column(name="NS_DETALLE", nullable=false, precision=5)
	public BigDecimal getNsDetalle() {
		return this.nsDetalle;
	}

	public void setNsDetalle(BigDecimal nsDetalle) {
		this.nsDetalle = nsDetalle;
	}


	@Column(nullable=false, length=30)
	public String getOficina() {
		return this.oficina;
	}

	public void setOficina(String oficina) {
		this.oficina = oficina;
	}


	@Column(name="REFNUM_TITU", nullable=false)
	public BigDecimal getRefnumTitu() {
		return this.refnumTitu;
	}

	public void setRefnumTitu(BigDecimal refnumTitu) {
		this.refnumTitu = refnumTitu;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_CREA")
	public Date getTsCrea() {
		return this.tsCrea;
	}

	public void setTsCrea(Date tsCrea) {
		this.tsCrea = tsCrea;
	}


	@Column(nullable=false, length=50)
	public String getZona() {
		return this.zona;
	}

	public void setZona(String zona) {
		this.zona = zona;
	}

}